document.getElementsByTagName('button')[0].addEventListener('click', function () {
  document.getElementsByTagName('body')[0].removeChild(document.getElementsByTagName('input')[0])
})

function fn() {
 console.log(arguments)
}

fn(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)